<template>
	<div class="content">
		<image src="/static/forms/submit-success.png" mode="widthFix"></image>
		<p class="t">表单已提交</p>
		<div class="btn">
			<c-button width="72%" @click="finish">完成</c-button>
		</div>
	</div>
</template>

<script>
import mixin from "@/mixin"
export default {
	mixins: [mixin],
	data() {
		return {
			date: new Date(),
			id: "",
		}
	},

	components: {},

	computed: {},
	onLoad(params) {
		this.id = params.id
	},

	methods: {
		finish() {
			uni.switchTab({
				url: "/pages/flow/index",
			})
		},
	},
}
</script>
<style lang="scss" scoped>
.content {
	padding: 80rpx 50rpx;
	text-align: center;
	image {
		width: 195rpx;
	}
	.t {
		margin-bottom: 4rpx;
		font-size: $font-size-biger;
		color: $font-color;
	}
	.tt {
		line-height: 1.6;
		font-size: 24rpx;
		color: #999;
	}
	.btn {
		margin-top: 50rpx;
		display: flex;
		justify-content: center;
	}
}
</style>
